/*   **********************************************************************  **
 **   Copyright notice                                                       **
 **                                                                          **
 **   (c) 2009, Around(J2)ME				                                 **
 **   All rights reserved.                                                   **
 **                                                                          **
 **   This program and the accompanying materials are made available under   **
 **   the terms of the New BSD License which accompanies this    			 **
 **   distribution.											                 **
 **   A copy is found in the textfile LICENSE.txt							 **
 **                                                                          **
 **   This copyright notice MUST APPEAR in all copies of the file!           **
 **                                                                          **
 **   Main developers:                                                       **
 **     Juri Strumpflohner		http://blog.js-development.com	             **
 **		Matthias Braunhofer		http://matthias.jimdo.com                    **
 **                                                                          **
 **  **********************************************************************  */

package com.aroundj2me.model;
/**
 * Constants used throughout the whole application
 * The same constants are also used on the Server-side
 *
 */
public class Constants {
	//Request constants
	public static final String COMMIT_PLACE = "commit:place";
	public static final String RETRIEVE_PLACE = "retrieve:place";
	public static final String DELETE_PLACE = "delete:place";
	public static final String COMMIT_PLACE_COMMENT = "commit:placecomment";
	public static final String GEOCODE_PLACE = "geocode:place";
	
	public static final String REQPARAM_RETRIEVE_BYCATEGORY = "location:category";
	
	//TODO: old parameters (remove if no more needed)
	public static final String PARAM_RETRIEVE_GLOBAL = "all";
	public static final String PARAM_RETRIEVE_PERSONAL ="personal";
	public static final String PARAM_LOCATION_CELLID = "location:cellid";
	public static final String PARAM_SEARCH = "search";
	
	//Response constants
	public static final String DATA_PLACE = "data:place";
	public static final String ALERT = "alert";
	
	public static final String ALERT_ERROR = "Error";
	public static final String ALERT_INFO = "Info";
}
